/* 
 * File:   imp_types.h
 * Author: gustavo
 *
 * Created on January 6, 2012, 7:07 AM
 */

#ifndef IMP_TYPES_H
#define	IMP_TYPES_H

#ifdef	__cplusplus
extern "C" {
#endif

	/* ====================================================================== */
	/** 2D Array reference */
	typedef struct _ref2 {
		int x;
		int y;
	} Ref2;

	/** 3D Array reference */
	typedef struct _ref3 {
		int x;
		int y;
		int z;
	} Ref3;

	Ref2 _Ref2(int x, int y);
	Ref3 _Ref3(int x, int y, int z);

	/* ====================================================================== */
	typedef struct _rect {
		/** Top-Left reference */
		Ref2 p1;
		/** Down-Righ reference */
		Ref2 p2;
	} Rect;
	
	



#ifdef	__cplusplus
}
#endif

#endif	/* IMP_TYPES_H */

